.omc-sidebar {
  user-select: none;
  position: relative;
  padding-top: 74px;
  height: 100%;
  position: relative;
  background-color: #fff;
  transition: width .2s;
  box-sizing: border-box;
  box-shadow: 2px 0 6px rgba(0, 21, 41, .15);

  &--tip {
    width: 90%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: absolute;
    top: 5px;
    left: 5%;
    color: #ccc;
    z-index: 2;
    text-align: center;
    font-size: 14px;
    background-color: rgba(0, 0, 0, .4);
  }

  .el-menu-item,
  .el-submenu__title {
    font-size: 14px;
    height: 46px;
    line-height: 46px;
    color: #666;
  }

  .el-submenu__title {
    span, i {
      color: #666;
    }

    &:hover {
      svg, span, i {
        color: $mainBg;
      }

      background-color: transparent;
    }
  }

  .el-submenu {
    &.is-active {
      svg, span, i {
        color: $mainBg;
      }
    }
  }

  .el-submenu .el-menu-item {
    span, i {
      color: #666;
    }

    &:hover {
      background-color: transparent;

      svg, span, i {
        color: $mainBg;
      }
    }

    &.is-active {
      background-color: #EBF6FF;

      svg, span, i {
        color: $mainBg;
      }

      &::before {
        content: " ";
        top: 0;
        left: 0;
        bottom: 0;
        width: 5px;
        border-radius: 2px;
        background: #519eed;
        position: absolute
      }
    }
  }
}
